package com.tudouji.project.mt.domain;

import java.math.BigDecimal;

import com.tudouji.framework.aspectj.lang.annotation.Excel;
import com.tudouji.framework.web.domain.BaseEntity;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 美团入库明细对象 mt_whinitem
 *
 * @author tudouji
 * @date 2023-11-21
 */
@Data
public class MtWhinitem extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * $column.columnComment
     */
    private Long id;

    /**
     * 入库主表id
     */
    @Excel(name = "入库主表id")
    private Long mtWhinid;

    /**
     * 美团仓库code
     */
    @Excel(name = "美团仓库code")
    private String mtWhCode;

    /**
     * 美团物品编码
     */
    @Excel(name = "美团物品编码")
    private String goodsCode;

    /**
     * 美团物品名称
     */
    @Excel(name = "美团物品名称")
    private String goodsName;

    /**
     * 基准单位Id
     */
    @Excel(name = "基准单位Id")
    private String baseunitId;

    /**
     * 基准单位名称
     */
    @Excel(name = "基准单位名称")
    private String baseunitName;

    /**
     * 业务单位
     */
    @Excel(name = "业务单位")
    private String bizunit;

    /**
     * 基准单位数量
     */
    @Excel(name = "基准单位数量")
    private BigDecimal amount;

    /**
     * 基准单位单价
     */
    @Excel(name = "基准单位单价")
    private BigDecimal price;

    /**
     * 金额
     */
    @Excel(name = "金额")
    private BigDecimal money;

    /**
     * 税率
     */
    @Excel(name = "税率")
    private BigDecimal taxrate;

    /**
     * 基准单位不含税价格
     */
    @Excel(name = "基准单位不含税价格")
    private BigDecimal notaxprice;

    /**
     * 不含税金额
     */
    @Excel(name = "不含税金额")
    private BigDecimal notaxmoney;

    /**
     * 税额
     */
    @Excel(name = "税额")
    private BigDecimal tax;

    /**
     * 差异金额
     */
    @Excel(name = "差异金额")
    private BigDecimal diffmoney;

    /**
     * 基准单位库存成本价
     */
    @Excel(name = "基准单位库存成本价")
    private BigDecimal stockprice;

    /**
     * 库存金额
     */
    @Excel(name = "库存金额")
    private BigDecimal stockmoney;

    /**
     * 业务单位数量
     */
    @Excel(name = "业务单位数量")
    private BigDecimal bizunitamount;

    /**
     * 业务单位单价
     */
    @Excel(name = "业务单位单价")
    private BigDecimal bizunitprice;

    /**
     * 业务单位不含税单价
     */
    @Excel(name = "业务单位不含税单价")
    private BigDecimal bizunitnotaxprice;

    /**
     * 业务单位库存成本价
     */
    @Excel(name = "业务单位库存成本价")
    private BigDecimal bizunitstockprice;

    /**
     * ERP系统库房id
     */
    @Excel(name = "ERP系统库房id")
    private String storeroomguid;

    /**
     * erp库房名称
     */
    @Excel(name = "erp库房名称")
    private String storeroomname;

    /**
     * ERP系统库间Id
     */
    @Excel(name = "ERP系统库间Id")
    private String storehouseguid;

    /**
     * ERP库间名称
     */
    @Excel(name = "ERP库间名称")
    private String storehousename;

    /**
     * ERP产品guid	菜品对应的
     */
    @Excel(name = "ERP产品guid	菜品对应的")
    private String productguid;

    /**
     * ERP产品名称	菜品对应的
     */
    @Excel(name = "ERP产品名称	菜品对应的")
    private String productname;

    /**
     * ERP系统物料guid	菜品对应的
     */
    @Excel(name = "ERP系统物料guid	菜品对应的")
    private String spguid;

    /**
     * ERP物料名称	菜品对应的
     */
    @Excel(name = "ERP物料名称	菜品对应的")
    private String spname;

    /**
     * ERP库存单位数量	转换为erp库存单位
     */
    @Excel(name = "ERP库存单位数量	转换为erp库存单位")
    private BigDecimal erpWeight;

    /**
     * erp库存单位id
     */
    @Excel(name = "erp库存单位id")
    private Long stockunitid;

    /**
     * erp库存单位名称
     */
    @Excel(name = "erp库存单位名称")
    private String stockunitname;

    /**
     * ERP系统库存单价
     */
    @Excel(name = "ERP系统库存单价")
    private BigDecimal erpPrice;

    /**
     * 状态
     */
    @Excel(name = "状态")
    private Integer status;


    private Long orgId;
    private String orgName;
    private String departmentguid;
    private Long supplierid;
    private String supplierName;
    private Integer erpType;
}
